package com.framework.boc.statistics.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 统计模板表
 * </p>
 *
 * @author Leil
 * @since 2020-12-23
 */
@TableName("CS_TEMPLATE")
@KeySequence(value = "SEQ_TEMPLATE", clazz = Integer.class)
@ApiModel(value="Template对象", description="统计模板表")
public class Template implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "ID", type = IdType.INPUT)
    private Integer id;

    @ApiModelProperty(value = "模板名称")
    @TableField("NAME")
    private String name;

    @ApiModelProperty(value = "模板存储路径")
    @TableField("PATH")
    private String path;

    @ApiModelProperty(value = "填写说明")
    @TableField("DESCRIPTION")
    private String description;

    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_DATE")
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_USER")
    private String createUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Override
    public String toString() {
        return "Template{" +
        "id=" + id +
        ", name=" + name +
        ", path=" + path +
        ", description=" + description +
        ", remark=" + remark +
        ", createDate=" + createDate +
        ", createUser=" + createUser +
        "}";
    }
}
